import request from '@/utils/request'

// 查询挂号级别列表
export function listRegistLevel(query) {
  return request({
    url: '/system/RegistLevel/list',
    method: 'get',
    params: query
  })
}

// 查询挂号级别详细
export function getRegistLevel(Id) {
  return request({
    url: '/system/RegistLevel/' + Id,
    method: 'get'
  })
}

// 新增挂号级别
export function addRegistLevel(data) {
  return request({
    url: '/system/RegistLevel',
    method: 'post',
    data: data
  })
}

// 修改挂号级别
export function updateRegistLevel(data) {
  return request({
    url: '/system/RegistLevel',
    method: 'put',
    data: data
  })
}

// 删除挂号级别
export function delRegistLevel(Id) {
  return request({
    url: '/system/RegistLevel/' + Id,
    method: 'delete'
  })
}
